package day6.zuoye;

public class Test03 {
    public static void main(String[] args) {
        int a=0,b=0;
        for (int i=21;;i++){
            for (int j=2;j*j<i;j++){
                if(j*j==i+100){
                    a=1;
                }
                if(j*j==i+168){
                    b=1;
                }
            }
            if(a==1&&b==1){
                System.out.println("这个数是"+i);
                break;
            }
        }
    }
}
